package com.itheima.reggie.service;

import com.itheima.reggie.entity.OrderDetail;

import java.util.List;

public interface OrderDetailService {

    /**
     * 移动端--根据订单id查询订单详情
     * @param orderId  订单id
     * @return  商品订单详情
     */
    List<OrderDetail> findByOrderId(String orderId);
    
    /**
     * 添加订单详情对象
     * @param orderDetail
     * @return
     */
    int add(OrderDetail orderDetail);
}
